<%--
  Created by IntelliJ IDEA.
  User: 乔见东方姑娘
  Date: 2023/8/14
  Time: 19:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>打印50行表格</title>
</head>
<body>


<%
    out.print("<table border=\"1px\" width=\"300px\" align=\"center\" cellspacing=\"0\" cellpadding=\"10px\">\n" +
            "    <caption>\n" +
            "        <b>表格标题</b>\n" +
            "    </caption>");
    for (int i = 1; i <= 50; i++) {
        out.print("<tr>");
        for (int j = 1; j <= 3; j++) {
            String s = ""+i + j;
            out.print("<td>"+s+"</td>");
        }
        out.print("</tr>");
    }
    out.print("</table>");
%>

</body>
</html>
